xen/pt: Unlock d->event_lock on error paths
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 27 Jun 2017 17:29:55 +0000 (18:29 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 28 Jun 2017 10:18:40 +0000 (11:18 +0100)
commitca49c64543864d55c114246f48b28d680c821909
tree40a20d3e096dffd34b665f20f4ed93f8e417d419
parent8b9793bfe614ee53029d2b1672e1080170809dcd
xen/pt: Unlock d->event_lock on error paths

Introduced by c/s fba00494268 "x86/pt: enable binding of GSIs to a PVH Dom0"

Spotted by Coverity.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/io.c